FROM openjdk:8-jdk-alpine

LABEL author=maomao email=138383877@qq.com

ENV APP_HOME=/www/project

VOLUME ["/tmp"]

ARG JAR_FILE

COPY ${JAR_FILE} free-app.jar

WORKDIR $APP_HOME

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/free-app.jar"]
